package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.CntrSize;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.CntrSizeVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 箱尺寸代码 服务类
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-05-23
 */
public interface CntrSizeService extends IService<CntrSize> {

    List<CntrSizeVo> getCntrSizeDataByPage(CntrSizeVo vo, Page<CntrSizeVo> page);

    ResultUtil<T> addCntrSize(CntrSize cntrSize);

    ResultUtil<T> updateCntrSize(CntrSize cntrSize);

    ResultUtil<T> deleteCntrSize(Long id);

    ResultUtil<T> checkCntrSize(CntrSize cntrSize);

    List<CntrSizeVo> getCntrSizeList(CntrSizeVo vo);

    List<CntrSizeVo> getCntrSizeTypeList(CntrSizeVo vo);
}
